<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>个人信息</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

    <meta name="description" content="">

    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/weui/lib/weui.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/weui/css/jquery-weui.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/weui/css/main.css">

</head>

<body ontouchstart>

<center>
    <header class='demos-header'>
        <h1 class="demos-title">${user.name}</h1>
    </header>
</center>

<div class="bd">
    <div class="page__bd">
        <div class="weui-cells">
            <div class="weui-cell">
                <div class="weui-cell__bd">
                    <p>姓名：</p>
                </div>
                <div class="weui-cell__ft">${user.name}</div>
            </div>

            <div class="weui-cell">
                <div class="weui-cell__bd">
                    <p>单位：</p>
                </div>
                <div class="weui-cell__ft">${user.deptName}</div>
            </div>

            <div class="weui-cell">
                <div class="weui-cell__bd">
                    <p>职务：</p>
                </div>
                <div class="weui-cell__ft">${user.role}</div>
            </div>

            <div class="weui-cell">
                <div class="weui-cell__bd">
                    <p>联系电话：</p>
                </div>
                <div class="weui-cell__ft">${user.phone}</div>
            </div>

        </div>
    </div>
</div>
<div class="weui-tabbar">
    <a href="${pageContext.request.contextPath}/index.do" class="weui-tabbar__item weui-bar__item">
        <div class="weui-tabbar__icon">
            <img src="${pageContext.request.contextPath}/static/weui/images/index.png" alt="">
        </div>
        <p class="weui-tabbar__label">返回首页</p>
    </a>
</div>
<script src="${pageContext.request.contextPath}/static/weui/lib/jquery-2.1.4.js"></script>
<script src="${pageContext.request.contextPath}/static/weui/lib/fastclick.js"></script>
<script>
    $(function () {
        FastClick.attach(document.body);
    });
</script>
<script src="${pageContext.request.contextPath}/static/weui/js/jquery-weui.js"></script>


<script>
    $('.delete-swipeout').click(function () {
        $(this).parents('.weui-cell').remove()
    })
    $('.close-swipeout').click(function () {
        $(this).parents('.weui-cell').swipeout('close')
    })
</script>
</body>
</html>
